﻿using System.Collections.Generic;

namespace LB.Common
{
    public class Chapter
    {
        public string Title { get; set; }
        public int ChapterId { get; set; }
        public int BookId { get; set; }


        public List<Chapter> SubChapters
        {
            get { return subChapters; }
            set { subChapters = value; }
        }
        private List<Chapter> subChapters = new List<Chapter>();

        public int Author { get; set; }

        //        public Chapter()
        //        {
        //            SubChapters = new List<Chapter>();
        //            ChapterId = 0;
        //            BookId = -1;
        //        }
    }
}
